package com.jintoufs.dao.baseinfo;


import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.baseinfo.Ticker;
import com.jintoufs.domain.ticker.TickerVO;

import java.util.List;
import java.util.Map;

public interface TickerDAO {
    void deleteByPrimaryKey(Long id);

    void insert(Ticker record);

    Ticker selectByPrimaryKey(Long id);

    void updateByPrimaryKey(Ticker record);

    List<Map<String, Object>> queryByParams(Map<String, Object> params);

    List<TickerVO> findByTicker(Map<String, Object> params);

    List<Map<String,Object>> getByFilter(QueryFilters filters);

    List<Map<String ,Object>> getLastestPrice(Map<String, Object> params);

    List<Map<String, Object>> queryBySite(Map<String, Object> map);

    void deleteByParams(Map<String, Object> params);
}